package com.itheima.service;

import com.itheima.pojo.PageResponseResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentPageRequest;

import java.util.List;

public interface StudentService {
    //学员列表查询
    PageResponseResult<Student> queryAllStudent(StudentPageRequest studentPageRequest);

    //添加学员
    void insertStudent(Student student);

    /*修改学员信息,1.根据id查询回显*/
    Student queryByIdStudent(Integer id);

    /*修改学员信息,2.修改学员信息*/
    void updateStudent(Student student);

    //违纪处理
    void violationStudent(Integer id, Integer score);

    //删除学员
    void deleteStudent(List<Integer> ids);
}
